using System;

/// <summary>
/// Summary description for UserProfile
/// </summary>
/// 
namespace CE.User
{
    public class LoginInformation
    {
        public LoginInformation()
        {
            ClearFields();
        }

        private Int64 _userinfoid;
        private Int64 _loghisid;
        private Int64 _ceid;
        private Int32 _usertypeid;
        private string _browser;
        private string _majorversion;
        private string _minorversion;
        private string _browsertype;
        private string _browserversion;
        private string _ipaddress;
        private string _hostname;
        private string _dotnetversion;
        private bool _javascript;
        private bool _vbscript;
        private bool _cookies;
        private bool _frames;
        private bool _tables;
        private bool _javaapplet;
        private bool _activx;
        private bool _win16;
        private bool _win32;
        private bool _win64;
        private string _platform;
        private string _useragent;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;

        public Int64 UserInfoId
        {
            get { return _userinfoid; }
            set { _userinfoid = value; }
        }

        public Int64 LogHisId
        {
            get { return _loghisid; }
            set { _loghisid = value; }
        }

        public Int64 CEID
        {
            get { return _ceid; }
            set { _ceid = value; }
        }

        public Int32 UserTypeId
        {
            get { return _usertypeid; }
            set { _usertypeid = value; }
        }

        public string Browser
        {
            get { return _browser; }
            set { _browser = value; }
        }

        public string MajorVersion
        {
            get { return _majorversion; }
            set { _majorversion = value; }
        }

        public string MinorVersion
        {
            get { return _minorversion; }
            set { _minorversion = value; }
        }

        public string BrowserType
        {
            get { return _browsertype; }
            set { _browsertype = value; }
        }

        public string BrowserVersion
        {
            get { return _browserversion; }
            set { _browserversion = value; }
        }

        public string IpAddress
        {
            get { return _ipaddress; }
            set { _ipaddress = value; }
        }

        public string HostName
        {
            get { return _hostname; }
            set { _hostname = value; }
        }

        public string DotNetVersion
        {
            get { return _dotnetversion; }
            set { _dotnetversion = value; }
        }

        public bool JavaScript
        {
            get { return _javascript; }
            set { _javascript = value; }
        }

        public bool VBScript
        {
            get { return _vbscript; }
            set { _vbscript = value; }
        }

        public bool Cookies
        {
            get { return _cookies; }
            set { _cookies = value; }
        }

        public bool Frames
        {
            get { return _frames; }
            set { _frames = value; }
        }

        public bool Tables
        {
            get { return _tables; }
            set { _tables = value; }
        }

        public bool JavaApplet
        {
            get { return _javaapplet; }
            set { _javaapplet = value; }
        }

        public bool ActivX
        {
            get { return _activx; }
            set { _activx = value; }
        }

        public bool Win16
        {
            get { return _win16; }
            set { _win16 = value; }
        }

        public bool Win32
        {
            get { return _win32; }
            set { _win32 = value; }
        }

        public bool Win64
        {
            get { return _win64; }
            set { _win64 = value; }
        }

        public string Platform
        {
            get { return _platform; }
            set { _platform = value; }
        }

        public string UserAgent
        {
            get { return _useragent; }
            set { _useragent = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public void ClearFields()
        {
            _userinfoid = 0;
            _loghisid = 0;
            _ceid = 0;
            _usertypeid = 0;
            _browser = "";
            _majorversion = "";
            _minorversion = "";
            _browsertype = "";
            _browserversion = "";
            _ipaddress = "";
            _hostname = "";
            _dotnetversion = "";
            _javascript = false;
            _vbscript = false;
            _cookies = false;
            _frames = false;
            _tables = false;
            _javaapplet = false;
            _activx = false;
            _win16 = false;
            _win32 = false;
            _win64 = false;
            _platform = "";
            _useragent = "";
            //common field name

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
           
        }

    }
}
